<template>
<div>
    <img class="wColck" src="@/assets/image/clock.jpg" alt=""/>
    <div class="wFont">
        <h2>{{ name }}</h2>
        <p>欢迎来到724便利店管理系统!</p>
    </div>
</div>
</template>

<script>
import {mapState} from "vuex";

export default {
    name: "CvsFrame",
    computed:{
        // 计算属性，取出vuex中的name
        ...mapState([
            'name'
        ])
    }
}
</script>

<style scoped>

</style>
